package com.platform.qujia.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.platform.qujia.param.request.AddCarWashOrderDto;
import com.platform.qujia.pojo.carWashPaymentInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * @Auther: zxy
 * @Date: 2023/8/15 16:49
 * @Description:
 */
@Data
@ApiModel("核销洗车券")
@NoArgsConstructor
@AllArgsConstructor
public class carWashPaymentDto {

    @ApiModelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "优惠券核销码")
    @NotEmpty(message = "核销码不能为空")
    private String couponNo;
    //    @ApiModelProperty(value = "优惠券id")
//    private Integer couponUserId;
    @ApiModelProperty(value = "核销站点id - 油站id")
    private String verification;
    @ApiModelProperty(value = "核销站点名称 - 油站名称")
    private String verificationName;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
//    @ApiModelProperty(value = "核销人员")
//    private String mobilePhone;

    /**
     * 加油枪号
     */
    @ApiModelProperty(value = "洗车枪号", example = "1")
    private String oilGun;

    /**
     * 油品名称
     */
    @ApiModelProperty(value = "油品名称即--洗车服务", example = "洗车服务")
    private String oilName;

    /**
     * 油企id
     */
    @ApiModelProperty(value = "油企id", example = "181")
    private Integer enterpriseId;

    /**
     * 油站id
     */
    @ApiModelProperty(value = "油站id", example = "235")
    private Integer stationId;

    /**
     * 获取：支付类型：wx,zfb,dzk,xj,yl,hyk,pos
     */
    @ApiModelProperty(value = "获取：支付类型：wx,zfb,dzk,xj,yl,hyk,pos,bCard", example = "pos")
    private String payType;

    /**
     * 支付容器：1微信2支付宝3pos机4双屏机
     */
    @ApiModelProperty(value = "支付容器：1微信2支付宝3pos机4双屏机", example = "3")
    private String appType;         //订单来源容器


    /**
     * 加油员id
     */
    @ApiModelProperty(value = "加油员id", example = "3")
    private String oilPersonnelId;


    /**
     * 设置：订单类型（1油品，2.非油品）（油品类型、汽油、柴油）
     */
    @ApiModelProperty(value = "油品类型、汽油、柴油）", example = "汽油")
    private String orderType;


    /**
     * 获取：油站名称
     */
    @ApiModelProperty(value = "获取：油站名称", example = "加油站")
    private String stationName;

    /**
     * 油企名称
     */
    @ApiModelProperty(value = "油企名称", example = "加油汽车站")
    private String enterpriseName;


//    /**
//     * 设备编码
//     */
//    @ApiModelProperty(value = "设备编码", example = "9527")
//    private String deviceNo;


    /**
     * 获取：订单来源1小程序，2pos机，3双屏机,4公众号
     */
    @ApiModelProperty(value = "获取：订单来源1小程序，2pos机，3双屏机,4公众号", example = "2")
    private String orderOriginType;     //订单来源


//    @ApiModelProperty(value ="是否参加优惠活动, true-参加，false-不参加")
//    private boolean enableDiscount;

    private String receivableAmt;

}
